package com.example.springboot14.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Myconfig {
    @Bean
    @ConfigurationProperties(prefix ="zg2.demo")
    public ErpInfo2 getBean()
    {
        return new ErpInfo2();
    }

}
